<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021-01-21
  Time: 11:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理系统</title>
    <base href="<%=request.getContextPath()%>">
    <link rel="stylesheet" href="/webjars/layui/2.5.6/css/layui.css"/>
    <style type="text/css">
        body{
            /*background: url('../img/2019-08-09_114554.png') no-repeat ;*/
            display: block;
            height: 100%;
            width: 100%;
            min-width: 1000px;
            z-index: -1;
            background-size: cover;
            background-color: #eeeeee;
        }
    </style>
</head>
<body>
    <div class="layui-card" style="width: 30%;margin: 200px auto;">
        <div class="layui-card-header">欢迎使用邯郸二院管理系统</div>
        <div class="layui-card-body">
            <form class="layui-form" method="post" action="/login"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" autocomplete="off" class="layui-input" >
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">密码</label>
                    <div class="layui-input-block">
                        <input type="password" name="pwd" autocomplete="off" class="layui-input" >
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button  class="layui-btn" lay-submit lay-filter="formDemo">登录</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</body>
<script src="webjars/layui/2.5.6/layui.js"></script>
<%--<script>--%>
<%--    function login(data) {--%>
<%--        layui.use(["table","jquery","laypage","form"],function () {--%>
<%--            console.log("点击登录")--%>
<%--            let layer=layui.layer;--%>
<%--            let $=layui.$;--%>
<%--            let table=layui.table;--%>
<%--            let name=data.name;--%>
<%--            let pwd=data.pwd;--%>
<%--            $.post('index',name,pwd)--%>
<%--        })--%>
<%--    }--%>
<%--</script>--%>
</html>
